package com.example.pkmedical.Utils;

import java.util.Locale;

/**
 * Created by Administrator on 2020/img_cg_on/28.
 */

public class LocaleUtils {
    private static LocaleUtils localeUtils;

    public static LocaleUtils getInstance() {
        if (localeUtils == null) {
            synchronized (LocaleUtils.class) {
                if (localeUtils == null) {
                    localeUtils = new LocaleUtils();
                }
            }
        }
        return localeUtils;
    }

    private LocaleUtils() {
        localeUtils = new LocaleUtils();
    }

    public static final Locale ALABO = new Locale("ar", "SA");//阿拉伯
    public static final Locale DEGUO = new Locale("de", "DE");//德国
    public static final Locale YINGYU = new Locale("en", "US");//英语
    public static final Locale XIBANYA = new Locale("es", "ES");//西班牙
    public static final Locale FAYU = new Locale("fr", "FR");//法语
    public static final Locale YIDALI = new Locale("it", "IT");//意大利
    public static final Locale RIBEN = new Locale("ja", "JP");//日本
    public static final Locale HANGUO = new Locale("ko", "KR");//韩国
    public static final Locale BAXI = new Locale("pt", "BR");//巴西
    public static final Locale PUTAOYA = new Locale("pt", "PT");//葡萄牙
    public static final Locale LUOMANIYA = new Locale("ro", "RO");//罗马尼亚
    public static final Locale ELUOSI = new Locale("ru", "RU");//俄罗斯
    public static final Locale TAIGUO = new Locale("th", "TH");//泰国

}
